#ifndef __KEY4X4_H__
#define __KEY4X4_H__

#include "inc.h"
#include "util.h"

#define Delay		Delay
#define KEY_PORT	P3

#define KEY_0	0x11
#define KEY_1	0x12
#define KEY_2	0x14
#define KEY_3	0x18
#define KEY_4	0x21
#define KEY_5	0x22
#define KEY_6	0x24
#define KEY_7	0x28
#define KEY_8	0x41
#define KEY_9	0x42
#define KEY_A	0x44
#define KEY_B	0x48
#define KEY_C	0x81
#define KEY_D	0x82
#define KEY_E	0x84
#define KEY_F	0x88

unsigned char Key_Check();

#endif //__KEY4X4_H__